﻿
@if (User.Identity.IsAuthenticated)
{
    @User.Identity.Name
    <br />
    @section logout{
        @using (Html.BeginForm("Logout", "Account", FormMethod.Post))
        {
            <button>Cerrar Sesion</button>
        }
    }
}
else
{
    <h3>No Hay Sesion</h3>
}